Release 10.1A: OpenEdge Data Management:
DataServer for ODBC
Running the utility interactively
You can run the Progress-to-ODBC utility interactively.
![]()
To run the Progress-to-ODBC utility interactively:
- Create a target data source. You must use an empty target data source when you run the Progress-to-ODBC utility.
- Configure your ODBC driver to connect to your new target data source and register the target data source.
Note: For a DBE (double-byte enabled) DataServer application, you must specify the Internal Code Page (- Start the OpenEdge client and connect to the OpenEdge database that you want to migrate to the target data source.
-cpinternal) and Stream Code Page (-cpstream) parameters when you start the OpenEdge client. The values that you specify for these parameters must match the code page that the target data source uses.- From the Data Administration tool, choose DataServer
ODBC Utilities
Schema Migration Tools
Progress DB to ODBC.
- The following screen appears:
![]()
It prompts you for the information described in Table 5–5.
Table 5–5: Progress-to-ODBC utility ( Interface elements Description Original PROGRESS Database Accept the name of the connected source database or type the name of a database to which to connect. Connect parameters for PROGRESS If you did not specify a new value for the name of the Original PROGRESS Database parameter, do not modify the Connect parameters for PROGRESS parameter.If you did specify a new value, type any additional connect parameters that are necessary. Name of Schema holder Database Type the name of the schema holder. The utility creates the schema holder if it does not exist. ODBC Data Source Name Type the data source name (This is the name you specified when registering the data source in step 2 of the above section "Running the Progress-to-ODBC utility" section). This is the name of the schema image and the name that you will use to refer to the target database in applications. The data-source name must be different from the name that you typed for the schema holder and different from the name of any other schema image existing in that schema holder. Foreign DBMS type Select the foreign data-source type to which the ODBC driver is connecting. OpenEdge provides the following choices: Sybase, DB2, Informix, and Other. Select Other if you are accessing a target data source other than the ones listed here. Note that you will get only the generic ODBC SQL-92 functionality if you access databases other than the ones listed here. ODBC Username Type the user ID. ODBC User’s Password Type the password. ODBC connect parameters Type additional connection parameters for the schema holder. The utility provides the required -U and -P parameters, but you might want to specify others. Codepage for Schema Image Type the OpenEdge name for the code page that the ODBC data source uses. By default, the code page for a schema holder is ISO8859-1. You can leave this field blank and use the Change Code Page utility to add the code page information for the schema holder later. Collation Name Enter the Progress name for the collation that your ODBC data source will use. Progress 4GL Compatible Objects Leave this toggle box checked to create an ODBC data source that supports arrays, backward and forward scrolling, and the OpenEdge record identifier in a data source that supports them. These objects result in the addition of columns to your foreign data-source tables.Uncheck this toggle box if you do not want the Extended 4GL capability. Load SQL If enabled, check this toggle box to execute the.sqlfile that contains the data definition for your OpenEdge database and load these definitions into the target data source.Uncheck this toggle box to generate only the SQL script. Create Shadow Columns If your ODBC data source is case sensitive, and you wish to maintain Progress-compatible, case insensitive behavior, check this box, otherwise leave blank. This option is disabled for data sources that are case-insensitive by default. Move Data Check this toggle box to dump and load data from the OpenEdge database to the target database. Copying data from a large database can take a long time. You can uncheck this toggle box if you want to dump and load data at a more convenient time.This toggle box is available only if the Load SQL toggle box is checked.If you want a complete migration of your OpenEdge database to a target data source, you must enter information in all fields and check all toggle boxes.
The utility creates a schema holder, updates the empty target data source that you created to contain the objects stored in your OpenEdge database, and creates a startup procedure that you can use to connect your schema holder. The startup procedure derives its name from the ODBC name for your target database. For example, if you specified “
sports” as the ODBC data-source name, the utility creates thecsports.pstartup procedure.Running the utility in batch mode
![]()
To run the Progress-to-ODBC utility in batch mode:
- Create a target ODBC data source. You must use an empty target data source when you run the Progress-to-ODBC utility.
- Configure your ODBC driver to connect to your new target data source.
- On your client machine, pass parameters to the utility by setting the environment variables listed in Table 5–6.
Note: You might need to append the Progress libraries to your- Enter the following commands to set and export environment variables at the system prompt, then run
protoodb.p:PROPATHenvironment variable in order for the executable to find.por.rfiles.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |